<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <title>vueshop</title>
    <style>

    </style>
  </head>
  <body>
    <div id="app">
    </div>
    <!-- built files will be auto injected -->

    <script>
      let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
      let htmlDom = document.getElementsByTagName('html')[0];
      if (htmlWidth > 750){htmlWidth = 750}
      htmlDom.style.fontSize = htmlWidth/20+'px';
      console.log(htmlWidth);
    </script>
  </body>
</html>
